//
//  UILabel+Extension.swift
//  微博
//
//  Created by Mr.Deng on 15/9/23.
//  Copyright © 2015年 Mr.Deng. All rights reserved.
//

import UIKit

extension UILabel{
    convenience init(title:String, fontSize:CGFloat, color:UIColor){
        self.init()
        text = title;
        font = UIFont.systemFontOfSize(fontSize)
        textColor = color
        numberOfLines = 0
        textAlignment = NSTextAlignment.Center
        sizeToFit()
    }
}